package com.github.yulichang.test.collection.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("table_a")
public class TableA {

    @TableId
    private Integer id;

    private String name;

    @TableField(exist = false)
    private  List<TableB> tableBS;
}
